<template>
  <PageLayout title="首页">
    <!-- 页面内容 -->
    <view>
      <text>这是首页的内容</text>
      <button @click="handleClick">点击我</button>
    </view>
  </PageLayout>
</template>

<script>
import PageLayout from "/pages/PageLayout/PageLayout.vue";

export default {
  components: {
    PageLayout,
  },
  methods: {
    handleClick() {
      uni.showToast({
        title: "按钮被点击了！",
        icon: "none",
      });
    },
  },
};
</script>
